# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/yakuake/yakuake-2.9.8.ebuild,v 1.5 2011/06/01 19:51:19 ranger Exp $

EAPI=3

#KDE_SCM="git"

inherit kde4-base git-2

DESCRIPTION="KDE: Quanta Plus Web Development Environment"
HOMEPAGE="https://projects.kde.org/projects/playground/devtools/quanta/repository"

#EGIT_REPO_URI="git://anongit.kde.org/quanta"
# set specific git revision
#EGIT_OPTIONS="reset --hard 0c5e148757a88786e730841112e6e862839d0e6b"

SRC_URI="http://anongit.kde.org/quanta/quanta_20120113043238_sha1-0c5e148757a88786e730841112e6e862839d0e6b.tar.gz"
        #http://anongit.kde.org/quanta/quanta-latest.tar.gz
        #git://anongit.kde.org/quanta
RESTRICT="mirror"

KEYWORDS="~x86"
SLOT="0"
IUSE=""

DEPEND="dev-libs/libxslt
        dev-libs/libxml2
        >=kde-base/kdelibs-4.7.4
        sys-devel/flex
        >=dev-libs/qjson-0.7.1
        =dev-util/kdevelop-9999
        =dev-util/kdevplatform-9999
        =dev-util/kdevelop-pg-qt-9999
        =dev-util/kdevelop-php-9999"

RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}

src_unpack() {
        unpack $A
        cd "${S}"
        ./initrepo.sh
}
